# encoding: utf-8
# module PyQt5.QtCore
# from /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-35m-x86_64-linux-gnu.so
# by generator 1.146
# no doc

# imports
import sip as __sip


class QUrl(): # skipped bases: <class 'sip.simplewrapper'>
    """
    QUrl()
    QUrl(str, QUrl.ParsingMode mode=QUrl.TolerantMode)
    QUrl(QUrl)
    """
    def adjusted(self, QUrl_FormattingOptions): # real signature unknown; restored from __doc__
        """ QUrl.adjusted(QUrl.FormattingOptions) -> QUrl """
        return QUrl

    def authority(self, QUrl_ComponentFormattingOptions_options=None): # real signature unknown; restored from __doc__
        """ QUrl.authority(QUrl.ComponentFormattingOptions options=QUrl.PrettyDecoded) -> str """
        return ""

    def clear(self): # real signature unknown; restored from __doc__
        """ QUrl.clear() """
        pass

    def detach(self): # real signature unknown; restored from __doc__
        """ QUrl.detach() """
        pass

    def errorString(self): # real signature unknown; restored from __doc__
        """ QUrl.errorString() -> str """
        return ""

    def fileName(self, QUrl_ComponentFormattingOptions_options=None): # real signature unknown; restored from __doc__
        """ QUrl.fileName(QUrl.ComponentFormattingOptions options=QUrl.FullyDecoded) -> str """
        return ""

    def fragment(self, QUrl_ComponentFormattingOptions_options=None): # real signature unknown; restored from __doc__
        """ QUrl.fragment(QUrl.ComponentFormattingOptions options=QUrl.PrettyDecoded) -> str """
        return ""

    def fromAce(self, QByteArray): # real signature unknown; restored from __doc__
        """ QUrl.fromAce(QByteArray) -> str """
        return ""

    def fromEncoded(self, QByteArray, QUrl_ParsingMode_mode=None): # real signature unknown; restored from __doc__
        """ QUrl.fromEncoded(QByteArray, QUrl.ParsingMode mode=QUrl.TolerantMode) -> QUrl """
        return QUrl

    def fromLocalFile(self, p_str): # real signature unknown; restored from __doc__
        """ QUrl.fromLocalFile(str) -> QUrl """
        return QUrl

    def fromPercentEncoding(self, QByteArray): # real signature unknown; restored from __doc__
        """ QUrl.fromPercentEncoding(QByteArray) -> str """
        return ""

    def fromStringList(self, list_of_str, QUrl_ParsingMode_mode=None): # real signature unknown; restored from __doc__
        """ QUrl.fromStringList(list-of-str, QUrl.ParsingMode mode=QUrl.TolerantMode) -> list-of-QUrl """
        pass

    def fromUserInput(self, p_str, p_str_1=None, QUrl_UserInputResolutionOptions_options=None): # real signature unknown; restored from __doc__ with multiple overloads
        """
        QUrl.fromUserInput(str) -> QUrl
        QUrl.fromUserInput(str, str, QUrl.UserInputResolutionOptions options=QUrl.DefaultResolution) -> QUrl
        """
        return QUrl

    def hasFragment(self): # real signature unknown; restored from __doc__
        """ QUrl.hasFragment() -> bool """
        return False

    def hasQuery(self): # real signature unknown; restored from __doc__
        """ QUrl.hasQuery() -> bool """
        return False

    def host(self, QUrl_ComponentFormattingOptions_options=None): # real signature unknown; restored from __doc__
        """ QUrl.host(QUrl.ComponentFormattingOptions options=QUrl.FullyDecoded) -> str """
        return ""

    def idnWhitelist(self): # real signature unknown; restored from __doc__
        """ QUrl.idnWhitelist() -> list-of-str """
        pass

    def isDetached(self): # real signature unknown; restored from __doc__
        """ QUrl.isDetached() -> bool """
        return False

    def isEmpty(self): # real signature unknown; restored from __doc__
        """ QUrl.isEmpty() -> bool """
        return False

    def isLocalFile(self): # real signature unknown; restored from __doc__
        """ QUrl.isLocalFile() -> bool """
        return False

    def isParentOf(self, QUrl): # real signature unknown; restored from __doc__
        """ QUrl.isParentOf(QUrl) -> bool """
        return False

    def isRelative(self): # real signature unknown; restored from __doc__
        """ QUrl.isRelative() -> bool """
        return False

    def isValid(self): # real signature unknown; restored from __doc__
        """ QUrl.isValid() -> bool """
        return False

    def matches(self, QUrl, QUrl_FormattingOptions): # real signature unknown; restored from __doc__
        """ QUrl.matches(QUrl, QUrl.FormattingOptions) -> bool """
        return False

    def password(self, QUrl_ComponentFormattingOptions_options=None): # real signature unknown; restored from __doc__
        """ QUrl.password(QUrl.ComponentFormattingOptions options=QUrl.FullyDecoded) -> str """
        return ""

    def path(self, QUrl_ComponentFormattingOptions_options=None): # real signature unknown; restored from __doc__
        """ QUrl.path(QUrl.ComponentFormattingOptions options=QUrl.FullyDecoded) -> str """
        return ""

    def port(self, int_defaultPort=-1): # real signature unknown; restored from __doc__
        """ QUrl.port(int defaultPort=-1) -> int """
        return 0

    def query(self, QUrl_ComponentFormattingOptions_options=None): # real signature unknown; restored from __doc__
        """ QUrl.query(QUrl.ComponentFormattingOptions options=QUrl.PrettyDecoded) -> str """
        return ""

    def resolved(self, QUrl): # real signature unknown; restored from __doc__
        """ QUrl.resolved(QUrl) -> QUrl """
        return QUrl

    def scheme(self): # real signature unknown; restored from __doc__
        """ QUrl.scheme() -> str """
        return ""

    def setAuthority(self, p_str, QUrl_ParsingMode_mode=None): # real signature unknown; restored from __doc__
        """ QUrl.setAuthority(str, QUrl.ParsingMode mode=QUrl.TolerantMode) """
        pass

    def setFragment(self, p_str, QUrl_ParsingMode_mode=None): # real signature unknown; restored from __doc__
        """ QUrl.setFragment(str, QUrl.ParsingMode mode=QUrl.TolerantMode) """
        pass

    def setHost(self, p_str, QUrl_ParsingMode_mode=None): # real signature unknown; restored from __doc__
        """ QUrl.setHost(str, QUrl.ParsingMode mode=QUrl.DecodedMode) """
        pass

    def setIdnWhitelist(self, list_of_str): # real signature unknown; restored from __doc__
        """ QUrl.setIdnWhitelist(list-of-str) """
        pass

    def setPassword(self, p_str, QUrl_ParsingMode_mode=None): # real signature unknown; restored from __doc__
        """ QUrl.setPassword(str, QUrl.ParsingMode mode=QUrl.DecodedMode) """
        pass

    def setPath(self, p_str, QUrl_ParsingMode_mode=None): # real signature unknown; restored from __doc__
        """ QUrl.setPath(str, QUrl.ParsingMode mode=QUrl.DecodedMode) """
        pass

    def setPort(self, p_int): # real signature unknown; restored from __doc__
        """ QUrl.setPort(int) """
        pass

    def setQuery(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        QUrl.setQuery(str, QUrl.ParsingMode mode=QUrl.TolerantMode)
        QUrl.setQuery(QUrlQuery)
        """
        pass

    def setScheme(self, p_str): # real signature unknown; restored from __doc__
        """ QUrl.setScheme(str) """
        pass

    def setUrl(self, p_str, QUrl_ParsingMode_mode=None): # real signature unknown; restored from __doc__
        """ QUrl.setUrl(str, QUrl.ParsingMode mode=QUrl.TolerantMode) """
        pass

    def setUserInfo(self, p_str, QUrl_ParsingMode_mode=None): # real signature unknown; restored from __doc__
        """ QUrl.setUserInfo(str, QUrl.ParsingMode mode=QUrl.TolerantMode) """
        pass

    def setUserName(self, p_str, QUrl_ParsingMode_mode=None): # real signature unknown; restored from __doc__
        """ QUrl.setUserName(str, QUrl.ParsingMode mode=QUrl.DecodedMode) """
        pass

    def swap(self, QUrl): # real signature unknown; restored from __doc__
        """ QUrl.swap(QUrl) """
        pass

    def toAce(self, p_str): # real signature unknown; restored from __doc__
        """ QUrl.toAce(str) -> QByteArray """
        return QByteArray

    def toDisplayString(self, QUrl_FormattingOptions_options=None): # real signature unknown; restored from __doc__
        """ QUrl.toDisplayString(QUrl.FormattingOptions options=QUrl.PrettyDecoded) -> str """
        return ""

    def toEncoded(self, QUrl_FormattingOptions_options=None): # real signature unknown; restored from __doc__
        """ QUrl.toEncoded(QUrl.FormattingOptions options=QUrl.FullyEncoded) -> QByteArray """
        return QByteArray

    def toLocalFile(self): # real signature unknown; restored from __doc__
        """ QUrl.toLocalFile() -> str """
        return ""

    def toPercentEncoding(self, p_str, QByteArray_exclude=None, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """ QUrl.toPercentEncoding(str, QByteArray exclude=QByteArray(), QByteArray include=QByteArray()) -> QByteArray """
        pass

    def topLevelDomain(self, QUrl_ComponentFormattingOptions_options=None): # real signature unknown; restored from __doc__
        """ QUrl.topLevelDomain(QUrl.ComponentFormattingOptions options=QUrl.FullyDecoded) -> str """
        return ""

    def toString(self, QUrl_FormattingOptions_options=None): # real signature unknown; restored from __doc__
        """ QUrl.toString(QUrl.FormattingOptions options=QUrl.PrettyDecoded) -> str """
        return ""

    def toStringList(self, list_of_QUrl, QUrl_FormattingOptions_options=None): # real signature unknown; restored from __doc__
        """ QUrl.toStringList(list-of-QUrl, QUrl.FormattingOptions options=QUrl.PrettyDecoded) -> list-of-str """
        pass

    def url(self, QUrl_FormattingOptions_options=None): # real signature unknown; restored from __doc__
        """ QUrl.url(QUrl.FormattingOptions options=QUrl.PrettyDecoded) -> str """
        return ""

    def userInfo(self, QUrl_ComponentFormattingOptions_options=None): # real signature unknown; restored from __doc__
        """ QUrl.userInfo(QUrl.ComponentFormattingOptions options=QUrl.PrettyDecoded) -> str """
        return ""

    def userName(self, QUrl_ComponentFormattingOptions_options=None): # real signature unknown; restored from __doc__
        """ QUrl.userName(QUrl.ComponentFormattingOptions options=QUrl.FullyDecoded) -> str """
        return ""

    def __eq__(self, *args, **kwargs): # real signature unknown
        """ Return self==value. """
        pass

    def __ge__(self, *args, **kwargs): # real signature unknown
        """ Return self>=value. """
        pass

    def __gt__(self, *args, **kwargs): # real signature unknown
        """ Return self>value. """
        pass

    def __hash__(self, *args, **kwargs): # real signature unknown
        """ Return hash(self). """
        pass

    def __init__(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    def __le__(self, *args, **kwargs): # real signature unknown
        """ Return self<=value. """
        pass

    def __lt__(self, *args, **kwargs): # real signature unknown
        """ Return self<value. """
        pass

    def __ne__(self, *args, **kwargs): # real signature unknown
        """ Return self!=value. """
        pass

    def __repr__(self, *args, **kwargs): # real signature unknown
        """ Return repr(self). """
        pass

    __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """list of weak references to the object (if defined)"""


    AssumeLocalFile = 1
    DecodedMode = 2
    DecodeReserved = 33554432
    DefaultResolution = 0
    EncodeDelimiters = 12582912
    EncodeReserved = 16777216
    EncodeSpaces = 1048576
    EncodeUnicode = 2097152
    FullyDecoded = 133169152
    FullyEncoded = 32505856
    NormalizePathSegments = 4096
    PreferLocalFile = 512
    PrettyDecoded = 0
    RemoveAuthority = 30
    RemoveFilename = 2048
    RemoveFragment = 128
    RemovePassword = 2
    RemovePath = 32
    RemovePort = 8
    RemoveQuery = 64
    RemoveScheme = 1
    RemoveUserInfo = 6
    StrictMode = 1
    StripTrailingSlash = 1024
    TolerantMode = 0


